import Vue from "vue";
import VueRouter from "vue-router";
import '../assets/css/global.css'


Vue.use(VueRouter);

const routes = [{
        path: "/",
        component: () =>
            import ("@/views/Home")
    },
    {
        path: "/login",
        component: () =>
            import ("@/views/account/Login")
    }, {
        path: "/home",
        component: () =>
            import ('@/views/home1')
    },
    {
        path: "/manage",
        component: () =>
            import ("@/views/Layout"),
        children: [{
                path: "",
                component: () =>
                    import ("@/views/system/Welcome")
            },
            {
                path: "userlist",
                component: () =>
                    import ("@/views/user/Userlist")
            },
            {
                path: '/login1',
                component: () =>
                    import ('@/views/login')
            }
        ]
    },
];

const router = new VueRouter({
    routes
});

export default router;